package com.xbh.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xbh.common.base.BaseEntity;
import com.xbh.management.model.ManMenu;
import com.xbh.management.model.ManRole;
import lombok.Data;

import javax.persistence.Column;
import java.util.Date;
import java.util.List;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2021-09-28 08:37
 */


@Data
public class ManUserVO extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @Column(name = "user_id")
    private Long userId;

    @Column(name = "username")
    private String username;

    @Column(name = "person_name")
    private String personName;

    @Column(name = "description")
    private String description;

    @Column(name = "birthday")
    private Date birthday;

    @Column(name = "email")
    private String email;

    @Column(name = "telephone")
    private String telephone;

    @Column(name = "states")
    private Integer states;

    List<ManRole> roleList;

    List<ManMenu> menuList;

}
